package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.Visitors;
import com.tanhua.model.vo.PageResult;

import java.util.List;

/**
 * @author wjs
 * @version 1.0
 * @date 2022/1/2 0002 上午 9:16
 */
public interface VisitorsApi {
    void save(Visitors visitors);

    List<Visitors> queryMyVisitors(Long date, Long userId);

    PageResult myVisitors(Integer page, Integer pagesize, Long userId);
}
